package platform.bio.client;

import platform.common.CommonInfo;

import java.net.Socket;
import java.nio.charset.Charset;

public class BioClient {

    public static void main(String[] args) {
        try{
            Socket socket = new Socket(CommonInfo.url, CommonInfo.port);
            System.out.println("bio客户端启动");
            BioClientHandler bioClientHandler = new BioClientHandler(socket, Charset.forName("utf-8"));
            bioClientHandler.start();
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
